package com.example.selfcontrol.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.models.auth.In;
import lombok.Data;

import java.util.Date;

@Data
public class LikeOpt {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private int articleId ;

    private int state ;

    private int likeUser ;

    private Date createTime ;

    private Date updateTime ;

    public LikeOpt(Integer id , int articleId, int state, int likeUser, Date createTime, Date updateTime) {
        this.id = id ;
        this.articleId = articleId;
        this.state = state;
        this.likeUser = likeUser;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
}
